项目报错Sass‘s behavior for declarations that appear after nested rules will be changing to match the be

将父级的样式代码写到最前面。结果:至此就不报错了。_ruleswillbechangingtomatchthebehaviorspecifiedbycssinanupcoming...